import request from '@/utils/request'

// 查询采集点连线日志列表
export function listPointConnectLog(query) {
  return request({
    url: '/basic/pointConnectLog/list',
    method: 'get',
    params: query
  })
}

// 查询采集点连线日志详细
export function getPointConnectLog(id) {
  return request({
    url: '/basic/pointConnectLog/' + id,
    method: 'get'
  })
}

// 新增采集点连线日志
export function addPointConnectLog(data) {
  return request({
    url: '/basic/pointConnectLog',
    method: 'post',
    data: data
  })
}

// 修改采集点连线日志
export function updatePointConnectLog(data) {
  return request({
    url: '/basic/pointConnectLog',
    method: 'put',
    data: data
  })
}

// 删除采集点连线日志
export function delPointConnectLog(id) {
  return request({
    url: '/basic/pointConnectLog/' + id,
    method: 'delete'
  })
}

// 导出采集点连线日志
export function exportPointConnectLog(query) {
  return request({
    url: '/basic/pointConnectLog/export',
    method: 'get',
    params: query
  })
}